let express=require('express');
let OrderController=require('./../controller/OrderxmController.js');
let myRouter=express.Router();
// 页面加载的时候
myRouter.post('/getxmorder',OrderController.getorder);
// 待付款
myRouter.post('/dzforder',OrderController.dzforder);
// // 进行中
myRouter.post('/jxzorder',OrderController.jxzorder);
// // 已完成
myRouter.post('/ywcorder',OrderController.ywcorder);
// // 取消订单
//支付时取消
myRouter.post('/yqxzforder',OrderController.yqxzforder);
// 接单时间取消
myRouter.post('/yqxjdorder',OrderController.yqxjdorder);
// // 点击确定评论,评论assessli6
myRouter.post('/pjforder',OrderController.pjforder);
// // 点击确定评论, 点击修改评论
myRouter.post('/xgpjorder',OrderController.xgpjorder);
// // 点击查看评论
myRouter.post('/splorder',OrderController.splorder);
// 订单完成
myRouter.post('/wcorder',OrderController.wcorder);
// 支付超时
myRouter.post('/cszforder',OrderController.cszforder);
//------------------陪玩订单-----------------------------
// 全部加载
myRouter.post('/getplayorder',OrderController.getplayorder);
// // 进行中
myRouter.post('/jxzplayorder',OrderController.jxzplayorder);
// // 已完成
myRouter.post('/ywcplayorder',OrderController.ywcplayorder);
// // 点击查看评论
myRouter.post('/splplayorder',OrderController.splplayorder);
// 接收订单playOrder-okli6
myRouter.post('/okplayorder',OrderController.okplayorder);
// 拒绝订单
myRouter.post('/jujueplayorder',OrderController.jujueplayorder);
//查询搜索
myRouter.post('/queryoplay0',OrderController.queryoplay0);
myRouter.post('/queryoplay1',OrderController.queryoplay1);
myRouter.post('/queryoplay2',OrderController.queryoplay2);
myRouter.post('/pwcszforder',OrderController.pwcszforder);
// ----------------------------关注----------------------------------
// 全部加载
myRouter.post('/getxmfollow',OrderController.getfollow);
// 确定单个取消关注
// 查询关注的人id
myRouter.post('/dgqxfollow',OrderController.dgqxfollow);
// 根据查询到id，取消关注他
myRouter.post('/dgqxfollow2',OrderController.dgqxfollow2);
// 确定全部取消
myRouter.post('/qbqxfollow',OrderController.qbqxfollow);
// ----------------------------交易管理----------------------------------
// 全选
myRouter.post('/getbusiness',OrderController.getbusiness);
// 收入塞选
myRouter.post('/sybusiness',OrderController.sybusiness);
// 支出筛选
myRouter.post('/zcbusiness',OrderController.zcbusiness);
// 时间筛选
myRouter.post('/alldatebusiness',OrderController.alldatebusiness);
myRouter.post('/srdatebusiness',OrderController.srdatebusiness);
myRouter.post('/zcdatebusiness',OrderController.zcdatebusiness);
myRouter.post('/alldatebusiness1',OrderController.alldatebusiness1);
myRouter.post('/srdatebusiness1',OrderController.srdatebusiness1);
myRouter.post('/zcdatebusiness1',OrderController.zcdatebusiness1);
myRouter.post('/alldatebusiness2',OrderController.alldatebusiness2);
myRouter.post('/srdatebusiness2',OrderController.srdatebusiness2);
myRouter.post('/zcdatebusiness2',OrderController.zcdatebusiness2);

module.exports=myRouter;